package cn.leyaber.hrm.domain;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author ma.rui.kai
 * @since 2020-12-11
 */
@TableName("customer_feedback")
public class Feedback extends Model<Feedback> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    @TableField("user_wholename_id")
    private Long userWholenameId;
    private String luirong;
    private String picture;
    private Long time;
    private Integer state;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUserWholenameId() {
        return userWholenameId;
    }

    public void setUserWholenameId(Long userWholenameId) {
        this.userWholenameId = userWholenameId;
    }

    public String getLuirong() {
        return luirong;
    }

    public void setLuirong(String luirong) {
        this.luirong = luirong;
    }

    public String getPicture() {
        return picture;
    }

    public void setPicture(String picture) {
        this.picture = picture;
    }

    public Long getTime() {
        return time;
    }

    public void setTime(Long time) {
        this.time = time;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "Feedback{" +
        ", id=" + id +
        ", userWholenameId=" + userWholenameId +
        ", luirong=" + luirong +
        ", picture=" + picture +
        ", time=" + time +
        ", state=" + state +
        "}";
    }
}
